/**
 * Program execution starts at the first statement in method main. Here,
 *	we establish a specialised frame that will operate as the main
 *	application screen.
 *
 * @author	K Barclay
 */

package colliec;

import java.lang.reflect.InvocationTargetException;

import javax.swing.SwingUtilities;

import diagram.CollaborationDiagram;
import window.*;



public class Collie {

    public static void			main(String[] args) {
    
        System.out.println("PROGRAM START...");

        try {
			SwingUtilities.invokeAndWait(new Runnable() {
				@Override
				public void run() {
					// On instancie un modèle vide
			        CollaborationDiagram diagramme = new CollaborationDiagram();
			        
			        // On instancie la fenêtre principale du programme
			        CollieFrame frame = new CollieFrame(diagramme);
				}
			});
		} catch (InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
        
        //CollieFrame.getCollieFrame();
        
        System.out.println("PROGRAM END");
    }

}	// class Collie

// ==================================================================


